from langchain_openai import ChatOpenAI


class ChatService:
    @staticmethod
    async def simple_chat(message: str) -> str:
        llm = ChatOpenAI(
            model="gpt-4o-mini"
        )
        response = await llm.ainvoke(message)
        return response.content
